import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/page/home'
import HomeMobile from '@/page/home_mobile'
import News from '@/page/news'
import NewsDetail from '@/page/newsDetail'
import Product from '@/page/product'
import Details from '@/page/details'
import About from '@/page/about'
import Witness from '@/page/witness'
import Product_Mobile from '@/page/product_mobile'
import News_Mobile from '@/page/news_mobile'
import Witness_Mobile from '@/page/witness_mobile'
import About_Mobile from '@/page/about_mobile'
import Details_Mobile from '@/page/details_mobile'
import NewsDetail_Mobile from '@/page/newsDetail_mobile'
import WitnessDetail_Mobile from '@/page/witnessDetail_mobile'

Vue.use(Router)
export default new Router({
  
  routes: [
    {
      path: '/',
      name: '首页',
      component: Home
    },
    {
      path: '/page/home_mobile',
      name: '首页',
      component: HomeMobile
    },
    {
      path: '/page/news',
      name: '新闻资讯',
      component: News
    },
    {
      path: '/page/newsDetail',
      name: '新闻资讯详情',
      component: NewsDetail
    },
    {
      path: '/page/newsDetail_mobile',
      name: '新闻资讯详情',
      component: NewsDetail_Mobile
    },
    {
      path: '/page/news_mobile',
      name: '新闻资讯',
      component: News_Mobile
    },
    {
      path: '/page/product',
      name: '产品中心',
      component: Product
    },
    {
      path: '/page/product_mobile',
      name: '产品中心',
      component: Product_Mobile
    },
    {
      path: '/page/details',
      name: '产品详情',
      component: Details
    },
    {
      path: '/page/details_mobile',
      name: '产品详情',
      component: Details_Mobile
    },
    {
      path: '/page/about',
      name: '联系我们',
      component: About
    },
    {
      path: '/page/about_mobile',
      name: '联系我们',
      component: About_Mobile
    },
    {
      path: '/page/witness',
      name: '客户见证',
      component: Witness
    },
    {
      path: '/page/witness_mobile',
      name: '客户见证',
      component: Witness_Mobile
    },
    {
      path: '/page/WitnessDetail_Mobile',
      name: '客户见证详情',
      component: WitnessDetail_Mobile
    },
  ],
  
})
